/**
 * Created by leiweibo on 7/11/15.
 */


var app = angular.module('officeaggregateservice', []);
app.factory('OfficeAggregateService', function($http, BaseService) {

  return {
    list_by_hospital: function (data, success) {
      $http.get(BaseService.baseUrl + '/office/list_by_hospital?hospitalId=' + data).success(success);
    }
  };
});

